import request from '@/utils/request'

// 查询ActivationCoupon列表
export function listActivationCoupon(query) {
return request({
url: '/api/v1/activationcouponList',
method: 'get',
params: query
})
}

// 查询ActivationCoupon详细
export function getActivationCoupon (couponId) {
return request({
url: '/api/v1/activationcoupon/' + couponId,
method: 'get'
})
}


// 新增ActivationCoupon
export function addActivationCoupon(data) {
return request({
url: '/api/v1/activationcoupon',
method: 'post',
data: data
})
}

// 修改ActivationCoupon
export function updateActivationCoupon(data) {
return request({
url: '/api/v1/activationcoupon',
method: 'put',
data: data
})
}

// 删除ActivationCoupon
export function delActivationCoupon(couponId) {
return request({
url: '/api/v1/activationcoupon/' + couponId,
method: 'delete'
})
}

